home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Developer Utilities / TomeViewer 1.1.1b3 / TomeViewer / TomeViewer.rsrc / TEXT_131_MakeFile Part2.txt < prev    next >
Encoding:
Text File  |  1996-10-10  |  1.2 KB  |  27 lines

  1.  
  2. # the debug version installer script name
  3. debugScriptName            = "{scriptName}.debug"
  4.  
  5. # make the debug version of finished installer script
  6. "{debugScriptName}" Δí "{scriptName}"
  7.     # establish current date with time of NOON
  8.     set theTime    "'`date -d -s` 12:00:00 PM'"
  9.     # make a copy of the finished installer script and rename the copy
  10.     Duplicate -y "{scriptName}" "{scriptName} w/ Debugger"
  11.     # add the installer debugger resources to the copied installer script
  12.     Rez -m "Installer Debugger.r" -append -o "{scriptName} w/ Debugger"
  13.     # set creation and modification dates and times, set attributes
  14.     SetFile -a b -d {theTime} -m {theTime} "{scriptName} w/ Debugger"
  15.  
  16. # make the standard version of finished installer script
  17. "{scriptName}" Δí makefile "{scriptName}.r"
  18.     # establish current date with time of NOON
  19.     set theTime    "'`date -d -s` 12:00:00 PM'"
  20.     # rez the installer source into the form that the installer can read
  21.     Rez "{scriptName}.r" -o "{scriptName}" -t 'kajr' -c 'kajr' 
  22.     # set creation and modification dates and times, set attributes
  23.     SetFile -a b -d {theTime} -m {theTime} "{scriptName}"
  24.     # run scriptcheck utility on the rezzed installer script
  25.     ScriptCheck "{scriptName}" -h -d -a
  26.  
  27.